package com.heima.wemedia.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.admin.dtos.SensitiveDto;
import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.wemedia.pojos.WmSensitive;

/**敏感词业务层
 * @author lzq
 * @data 2023/5/9 11:48
 */
public interface AdWmSensitiveService extends IService<WmSensitive> {
    /**
     * 敏感词列表查询
     * @param dto
     * @return
     */
    public ResponseResult list(SensitiveDto dto);

    /**
     * 删除敏感词
     * @param id
     * @return
     */
    ResponseResult del(Integer id);

}
